using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class OnlineCustomerInfosExtend
{
		public static ResponseOnlineCustomerInfosDto ToResponseDto(this OnlineCustomerInfos entity)
{			return new ResponseOnlineCustomerInfosDto
			{
				id = entity.CiId,
				content = entity.CiContent,
				sendMan = entity.CiSendMan,
				receiveMan = entity.CiReceiveMan,
				createTime = entity.CiCreateTime,
			};
		}
	}
}
